package cn.tk.service.mr.impl;

import cn.tk.model.entity.mr.Intent;
import cn.tk.repository.mr.IntentDao;
import cn.tk.service.mr.IntentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by denglw on 2021/7/21.<br/>
 * Desc: 意图服务实现层
 */
@Service("mrIntentService")
public class IntentServiceImpl implements IntentService {

    @Autowired
    private IntentDao intentDao;

    @Override
    public List<Intent> getAll() {
        return intentDao.findAll();
    }
}
